package com.wengzw.dao;

import com.wengzw.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
@Primary
public interface UserMapper {
    /**
     * 根据登陆信息查询用户信息
     */
    @Select("select * from sys_usr where user_name = #{user_name}")
    User findUserByLoginName(String user_name);
}

